package com.lin.repository;

import com.lin.dataobject.DataDictionary;
import com.lin.dataobject.DataDictionaryDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2017-11-18.
 */
public interface DataDictionaryDetailRepository extends JpaRepository<DataDictionaryDetail,Integer>{
    List<DataDictionaryDetail> findAllByMainId(Integer mainId);

    void deleteAllByMainId(Integer mainId);
}
